/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package dataanalysis.gui.filechooser;

import java.io.File;
import javax.swing.JFileChooser;
import javax.swing.filechooser.FileFilter;
import weka.gui.ExtensionFileFilter;

/**
 *
 * @author Administrator
 */
public class MethodFileChooser extends JFileChooser{

    public MethodFileChooser(File currentDirectory) {
        super(currentDirectory);
        FileFilter modelFilter = new ExtensionFileFilter(".class", "Compiled method java files (*.class)");
        this.setFileFilter(modelFilter);
        this.setFileSelectionMode(JFileChooser.FILES_ONLY);
        this.setMultiSelectionEnabled(true);
    }

}
